/*
 * @Description: 游戏配置管理
 * @Date: 2023-06-02 09:44:43
 * @Author: jiao-xiao-lin
 */
import React from 'react';
import { KeepAlive } from 'umi';
import { Tabs } from 'antd';
import CustomBaseline from './CustomBaseline';
import HeatSourceConfig from './HeatSourceConfig';

const GameConfigManage = () => {
  const tabs = [
    {
      key: '1',
      label: '自定义基线',
      children: <CustomBaseline />,
    },
    {
      key: '2',
      label: '热源配置',
      children: <HeatSourceConfig />,
    },
  ];

  return (
    <div>
      <KeepAlive when={true}>
        <Tabs defaultActiveKey="1" items={tabs} />
      </KeepAlive>
    </div>
  );
};

export default GameConfigManage;
